package com.leo.foodmaster.admin.stock.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 入库详单
 * </p>
 *
 * @author Leo
 * @since 2021-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WarehouseInRecordDetails对象", description="入库详单")
public class WarehouseInRecordDetails implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "自增主键Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "关联入库记录Id")
    private Long warehouseInRecordId;

    @ApiModelProperty(value = "关联食材Id")
    private Long foodMaterialId;

    @ApiModelProperty(value = "关联食材名称")
    private String foodMaterialName;

    @ApiModelProperty(value = "关联食材类型Id")
    private Long foodMaterialTypeId;

    @ApiModelProperty(value = "关联食材类型名称")
    private String foodMaterialTypeName;

    @ApiModelProperty(value = "规格")
    private String specs;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "入库仓库Id")
    private Long warehouseId;

    @ApiModelProperty(value = "入库仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "仓库编号")
    private String warehouseSerialNum;

    @ApiModelProperty(value = "入库货架Id")
    private Long shelfId;

    @ApiModelProperty(value = "入库货架名称")
    private String shelfName;

    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @ApiModelProperty(value = "采购数量")
    private BigDecimal purchaseAmount;

    @ApiModelProperty(value = "实际入库数量")
    private BigDecimal warehouseInAmount;

    @ApiModelProperty(value = "损耗数量")
    private BigDecimal wasteAmount;


    @ApiModelProperty(value = "采购价格")
    private BigDecimal price;

    @ApiModelProperty(value = "总金额")
    private BigDecimal total;

    @ApiModelProperty(value = "关联采购单Id")
    private Long purchaseBillId;

    @ApiModelProperty(value = "关联采购单编号")
    private String purchaseBillSerialNum;

    @ApiModelProperty(value = "关联采购单详单Id")
    private Long purchaseBillDetailsId;

    @ApiModelProperty(value = "供应商Id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplier;

    @ApiModelProperty(value = "供应商公司Id")
    private Long supplierOrganId;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
